package com.ht.service.impl;

import com.ht.bean.Emp;
import com.ht.dao.LoginDao;
import com.ht.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LoginServiceImpl implements LoginService {
    /*
     *用户登录实体类
     * @param
     * @return
     **/

    @Autowired
    private LoginDao loginDao;

    @Override
    public Emp login(String phone, String password) {
        return loginDao.login(phone,password);
    }
}
